@layout("/common/_container.html"){
<link href="https://pynnn.oss-cn-hangzhou.aliyuncs.com/remoteSynergy.css?v=20200628" rel="stylesheet">
<div class="row addPatient">
    <div class="col-xs-12 addPatientHeader">
        <div></div>
        <div style="flex: 2">牙体牙髓病例评选</div>
        <div></div>
    </div>
    <div class="col-xs-12 addPatientContent">
        <div id="rankingList">
            <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/paihangbang.png" alt="加载中..." style="width: 100%">
            <div>
                @for(item in rankingList){
                    @if(item.voteRanking == 2){
                        <div onclick="enterDetails('${item.id}')">
                            <div>${item.id}号：${item.creater}</div>
                            <div>${item.votes}票</div>
                        </div>
                    @}
                @}
                @for(item in rankingList){
                    @if(item.voteRanking == 1){
                        <div onclick="enterDetails('${item.id}')">
                            <div>${item.id}号：${item.creater}</div>
                            <div>${item.votes}票</div>
                        </div>
                    @}
                @}
                @for(item in rankingList){
                    @if(item.voteRanking == 3){
                        <div onclick="enterDetails('${item.id}')">
                            <div>${item.id}号：${item.creater}</div>
                            <div>${item.votes}票</div>
                        </div>
                    @}
                @}
            </div>
        </div>
        <div id="rankingDetails">
            <div class="rankingClass" style="font-weight: bold;border-bottom: 2px solid #DDDDDD;">
                <div>排名</div>
                <div>参与选手</div>
                <div>票数</div>
            </div>
            @for(item in rankingList){
                @if(item.voteRanking != 1 && item.voteRanking != 2 && item.voteRanking != 3){
                    <div class="rankingClass" onclick="enterDetails('${item.id}')">
                        <div>${item.voteRanking}</div>
                        <div>${item.id}号：${item.creater}</div>
                        <div>${item.votes}票</div>
                    </div>
                @}
            @}
        </div>
    </div>
    <div class="col-xs-12 addPatientFooter">
        <div onclick="caseSelectionVote()">
            <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/navigationIconOne.png" alt="加载中...">
            <div>首页</div>
        </div>
        <div onclick="ruleDetails()">
            <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/navigationIconTwo.png" alt="加载中...">
            <div>规则</div>
        </div>
        <div onclick="searchPlayer()">
            <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/navigationIconThr.png" alt="加载中...">
            <div style="text-indent: 3px;">搜索</div>
        </div>
        <div onclick="rankingStatistics()">
            <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/navigationIconFor.png" alt="加载中...">
            <div style="text-indent: 3px;">排名</div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/remoteSynergy/remoteSynergy.js?v=20200628"></script>
@}